package com.tianlh.service.design_pattern.Chain_of_Responsibility;


public class ManageHandler extends Handler {

    @Override
    void operator(Client client) {
        if(client.getLeaveDays() <= 0.5){
            System.out.println("主管处理该逻辑");
        }else{
            if(null != getHandler()){
                getHandler().operator(client);
            }
        }
    }
}
